<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

<ui:composition>

    <ul>
        <h:panelGroup rendered="#{authorizationBean.userClient}"><li>
            <h:commandLink value="Home"
                           immediate="true"
                           action="home"
                           actionListener="#{menuBean.resetConversations}"/></li></h:panelGroup>
        <h:panelGroup rendered="#{authorizationBean.userClient}"><li>
            <h:commandLink value="Accounts"
                           immediate="true"
                           action="accounts"
                           actionListener="#{menuBean.resetConversations}"/></li></h:panelGroup>
        <h:panelGroup rendered="#{authorizationBean.userClient}"><li>
            <h:commandLink value="Order"
                           immediate="true"
                           action="order"
                           actionListener="#{menuBean.resetConversations}"/></li></h:panelGroup>
        <h:panelGroup rendered="#{authorizationBean.userAdmin}"><li>
            <h:commandLink value="Administration"
                           immediate="true"
                           action="admin"
                           actionListener="#{menuBean.resetConversations}"/></li></h:panelGroup>
        <h:panelGroup rendered="#{authorizationBean.loggedIn}">
            <li><a href="../j_spring_security_logout">Logout</a></li></h:panelGroup>
    </ul>

</ui:composition>

</html>